POV-Ray : Newsgroups : povray.binaries.images : SCC4 reject : SCC4 reject Server Time
6 Aug 2024 19:31:17 EDT (-0400)
  SCC4 reject  
From: Pete Hurst
Date: 13 Oct 2006 02:22:14
Message: <452f3096@news.povray.org>
Started as an attempt at normal lightning, then I tried to make a kind 
of ball lightning, neither was very convincing and frankly both looked a 
bit of a mess. Looks more like tumbleweed but I had no bytes left to 
include a desert... Still, I quite like the image and you can play 
around with the seed() as well as the 3 (number of branches per step) 
and the 6 (total number of steps) in the macro call to generate some 
radically different tumbleweeds. I won't be entering this since I've got 
others I like more :)

#macro L(p,n,m,r)#local l=vlength(p);#local 
P=p+vnormalize(<rand(r),rand(r),rand(r)>-.5)*(.5-l)*.5;cone{p+z,(.5-l)/100,P+z,(.5-vlength(P))/100pigment{rgb(1-l+z*l)}}#if(n>0)L(p,n-1,m,r)#end#if(m)L(P,3,m-1,r)#end#end

L(0,3,6,seed(2))light_source{2-5*z,1}

Random Pete


Post a reply to this message


Attachments:
Download 'balllightning.jpg' (196 KB)

Preview of image 'balllightning.jpg'
balllightning.jpg


 

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.